package com.epichust.bootuqc.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Description:
 *执行派工单对应序列号表
 * @author:伦伦的电脑
 * @date: 2021/1/25 10:15
 */
public class Uex5pTrackOrder implements Serializable {
    private static final long serialVersionUID = -1L;
    private Integer id;
    private String serialCode;// 产品序列号
    private String lotCode;// 批次号
    private Integer vtrackgid;
    private String mrlCode;// 产品物料编码
    private String mrlName; // 产品物料名称
    private String orderCode;// 订单号
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date plannedStartTime;// 开始时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date plannedFinishTime;// 结束时间
    private String workOrderCode;// 工单号
    private Integer workCenterId;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date predictDate;// 预计下线时间
    private String nowDaq;// 当前采集点
    private String acqEmployeeId;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date nowDaqDate;// 当前采集点采集时间
    private String nextDaq;// 下一采集点
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date nextDapDate;// 预计下一采集时间
    private String freezeLocation;// 冻结位置
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date freezeDate;// 冻结时间
    private String reason;// 冻结原因
    private String disposeType = "0";// 处理类型
    private String disposeContent;// 处理类容
    private Integer orderState;// 订单状态
    private Integer operateState;// 操作状态
    private String routeCode;// 工艺路线编号
    private String routeId;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date unfreezeDate;// 解冻时间
    private String unfreezeLocation;// 解冻位置
    private String freezeEmployeeId;
    private String unfreeEmployeeId;
    private Integer isDown = 0;// 生产状态 （0未生产，1在线，2下线）
    private String iscomplete = "0";// 是否完工
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date completeDate;// 完工时间
    private String publishState = "0";// 发布状态
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date publishDate;// 发布时间
    private String chkEmployeeId;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date chkDate;// 检测时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date actualBeginDate;// 实际开始时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date actualEndDate;// 实际结束时间
    private Integer opId;
    private String opCode;// 工序编码
    private Integer planOpSeq = 0;// 计划工序步骤顺序
    private BigDecimal effectiveQty = new BigDecimal(0);// 良品数
    private BigDecimal uneffectiveQty = new BigDecimal(0);// 不良品数
    private BigDecimal discardQty = new BigDecimal(0);// 报废数
    private BigDecimal transQty = BigDecimal.ZERO;// 转序数量
    private Integer actualOpSeq = 0;// 实际工序步骤顺序
    private Integer workCellId;
    private BigDecimal planQty = new BigDecimal(0); // 计划数量
    private Integer serialState = 0; // 产品序列条码状态(0-未生,1-生成)
    private String remark;// 备注
    private String dispatchCode;// 派工单编号
    private Integer disCodeState = 0;// 派工单状态(0-待开工，1-开工，2-暂停和3-完工,4-外协)
    private Long workDate = 0L;// 工时
    private Integer workOrderId;
    private Integer groupId;
    private Integer parentOpId;
    private Integer opFlag = 0; // 工序标识(0-工序,1-工步)
    private Integer workOrderFlag = 0; // 工单所在工序标识(0-不在,1-正在或下一步将在)
    private String featureLotCode; // 特征信息代码，二次开发使用

    private String uda6; //客户
    private String uda7; //根订单号(jydxs)
    private String uda8; //图纸版本[JYDJJ]
    private String uda9; //预留字段9
    private String uda10;  //载体码[JYDJJ]
    private Integer isLast;// 是否尾单 1是 0否
    private Integer seq; // 顺序号[11.04E非工序顺序号，指任务单工序/工位队列顺序]
    private BigDecimal reqNum;
    private Integer isFreeze = 0; // 是否冻结：EYesNo，0否，1是，默认为0
    private Integer isClose = 0; // 是否关闭：0否，1是，默认为0
    private Integer isSplit = 0; // 是否拆分：0否，1是，默认为0

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSerialCode() {
        return serialCode;
    }

    public void setSerialCode(String serialCode) {
        this.serialCode = serialCode;
    }

    public String getLotCode() {
        return lotCode;
    }

    public void setLotCode(String lotCode) {
        this.lotCode = lotCode;
    }

    public String getMrlCode() {
        return mrlCode;
    }

    public void setMrlCode(String mrlCode) {
        this.mrlCode = mrlCode;
    }

    public String getMrlName() {
        return mrlName;
    }

    public void setMrlName(String mrlName) {
        this.mrlName = mrlName;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public Date getPlannedStartTime() {
        return plannedStartTime;
    }

    public void setPlannedStartTime(Date plannedStartTime) {
        this.plannedStartTime = plannedStartTime;
    }

    public Date getPlannedFinishTime() {
        return plannedFinishTime;
    }

    public void setPlannedFinishTime(Date plannedFinishTime) {
        this.plannedFinishTime = plannedFinishTime;
    }

    public String getWorkOrderCode() {
        return workOrderCode;
    }

    public void setWorkOrderCode(String workOrderCode) {
        this.workOrderCode = workOrderCode;
    }

    public Integer getWorkCenterId() {
        return workCenterId;
    }

    public void setWorkCenterId(Integer workCenterId) {
        this.workCenterId = workCenterId;
    }

    public Date getPredictDate() {
        return predictDate;
    }

    public void setPredictDate(Date predictDate) {
        this.predictDate = predictDate;
    }

    public String getNowDaq() {
        return nowDaq;
    }

    public void setNowDaq(String nowDaq) {
        this.nowDaq = nowDaq;
    }

    public String getAcqEmployeeId() {
        return acqEmployeeId;
    }

    public void setAcqEmployeeId(String acqEmployeeId) {
        this.acqEmployeeId = acqEmployeeId;
    }

    public Date getNowDaqDate() {
        return nowDaqDate;
    }

    public void setNowDaqDate(Date nowDaqDate) {
        this.nowDaqDate = nowDaqDate;
    }
    public Integer getVtrackgid() {
        return vtrackgid;
    }

    public void setVtrackgid(Integer vtrackgid) {
        this.vtrackgid = vtrackgid;
    }

    public String getNextDaq() {
        return nextDaq;
    }

    public void setNextDaq(String nextDaq) {
        this.nextDaq = nextDaq;
    }

    public Date getNextDapDate() {
        return nextDapDate;
    }

    public void setNextDapDate(Date nextDapDate) {
        this.nextDapDate = nextDapDate;
    }

    public String getFreezeLocation() {
        return freezeLocation;
    }

    public void setFreezeLocation(String freezeLocation) {
        this.freezeLocation = freezeLocation;
    }

    public Date getFreezeDate() {
        return freezeDate;
    }

    public void setFreezeDate(Date freezeDate) {
        this.freezeDate = freezeDate;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getDisposeType() {
        return disposeType;
    }

    public void setDisposeType(String disposeType) {
        this.disposeType = disposeType;
    }

    public String getDisposeContent() {
        return disposeContent;
    }

    public void setDisposeContent(String disposeContent) {
        this.disposeContent = disposeContent;
    }

    public Integer getOrderState() {
        return orderState;
    }

    public void setOrderState(Integer orderState) {
        this.orderState = orderState;
    }

    public Integer getOperateState() {
        return operateState;
    }

    public void setOperateState(Integer operateState) {
        this.operateState = operateState;
    }

    public String getRouteCode() {
        return routeCode;
    }

    public void setRouteCode(String routeCode) {
        this.routeCode = routeCode;
    }

    public String getRouteId() {
        return routeId;
    }

    public void setRouteId(String routeId) {
        this.routeId = routeId;
    }

    public Date getUnfreezeDate() {
        return unfreezeDate;
    }

    public void setUnfreezeDate(Date unfreezeDate) {
        this.unfreezeDate = unfreezeDate;
    }

    public String getUnfreezeLocation() {
        return unfreezeLocation;
    }

    public void setUnfreezeLocation(String unfreezeLocation) {
        this.unfreezeLocation = unfreezeLocation;
    }

    public String getFreezeEmployeeId() {
        return freezeEmployeeId;
    }

    public void setFreezeEmployeeId(String freezeEmployeeId) {
        this.freezeEmployeeId = freezeEmployeeId;
    }

    public String getUnfreeEmployeeId() {
        return unfreeEmployeeId;
    }

    public void setUnfreeEmployeeId(String unfreeEmployeeId) {
        this.unfreeEmployeeId = unfreeEmployeeId;
    }

    public Integer getIsDown() {
        return isDown;
    }

    public void setIsDown(Integer isDown) {
        this.isDown = isDown;
    }

    public String getIscomplete() {
        return iscomplete;
    }

    public void setIscomplete(String iscomplete) {
        this.iscomplete = iscomplete;
    }

    public Date getCompleteDate() {
        return completeDate;
    }

    public void setCompleteDate(Date completeDate) {
        this.completeDate = completeDate;
    }

    public String getPublishState() {
        return publishState;
    }

    public void setPublishState(String publishState) {
        this.publishState = publishState;
    }

    public Date getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    public String getChkEmployeeId() {
        return chkEmployeeId;
    }

    public void setChkEmployeeId(String chkEmployeeId) {
        this.chkEmployeeId = chkEmployeeId;
    }

    public Date getChkDate() {
        return chkDate;
    }

    public void setChkDate(Date chkDate) {
        this.chkDate = chkDate;
    }

    public Date getActualBeginDate() {
        return actualBeginDate;
    }

    public void setActualBeginDate(Date actualBeginDate) {
        this.actualBeginDate = actualBeginDate;
    }

    public Date getActualEndDate() {
        return actualEndDate;
    }

    public void setActualEndDate(Date actualEndDate) {
        this.actualEndDate = actualEndDate;
    }

    public Integer getOpId() {
        return opId;
    }

    public void setOpId(Integer opId) {
        this.opId = opId;
    }

    public String getOpCode() {
        return opCode;
    }

    public void setOpCode(String opCode) {
        this.opCode = opCode;
    }

    public Integer getPlanOpSeq() {
        return planOpSeq;
    }

    public void setPlanOpSeq(Integer planOpSeq) {
        this.planOpSeq = planOpSeq;
    }

    public BigDecimal getEffectiveQty() {
        return effectiveQty;
    }

    public void setEffectiveQty(BigDecimal effectiveQty) {
        this.effectiveQty = effectiveQty;
    }

    public BigDecimal getUneffectiveQty() {
        return uneffectiveQty;
    }

    public void setUneffectiveQty(BigDecimal uneffectiveQty) {
        this.uneffectiveQty = uneffectiveQty;
    }

    public BigDecimal getDiscardQty() {
        return discardQty;
    }

    public void setDiscardQty(BigDecimal discardQty) {
        this.discardQty = discardQty;
    }

    public BigDecimal getTransQty() {
        return transQty;
    }

    public void setTransQty(BigDecimal transQty) {
        this.transQty = transQty;
    }

    public Integer getActualOpSeq() {
        return actualOpSeq;
    }

    public void setActualOpSeq(Integer actualOpSeq) {
        this.actualOpSeq = actualOpSeq;
    }

    public Integer getWorkCellId() {
        return workCellId;
    }

    public void setWorkCellId(Integer workCellId) {
        this.workCellId = workCellId;
    }

    public BigDecimal getPlanQty() {
        return planQty;
    }

    public void setPlanQty(BigDecimal planQty) {
        this.planQty = planQty;
    }

    public Integer getSerialState() {
        return serialState;
    }

    public void setSerialState(Integer serialState) {
        this.serialState = serialState;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getDispatchCode() {
        return dispatchCode;
    }

    public void setDispatchCode(String dispatchCode) {
        this.dispatchCode = dispatchCode;
    }

    public Integer getDisCodeState() {
        return disCodeState;
    }

    public void setDisCodeState(Integer disCodeState) {
        this.disCodeState = disCodeState;
    }

    public Long getWorkDate() {
        return workDate;
    }

    public void setWorkDate(Long workDate) {
        this.workDate = workDate;
    }

    public Integer getWorkOrderId() {
        return workOrderId;
    }

    public void setWorkOrderId(Integer workOrderId) {
        this.workOrderId = workOrderId;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public Integer getParentOpId() {
        return parentOpId;
    }

    public void setParentOpId(Integer parentOpId) {
        this.parentOpId = parentOpId;
    }

    public Integer getOpFlag() {
        return opFlag;
    }

    public void setOpFlag(Integer opFlag) {
        this.opFlag = opFlag;
    }

    public Integer getWorkOrderFlag() {
        return workOrderFlag;
    }

    public void setWorkOrderFlag(Integer workOrderFlag) {
        this.workOrderFlag = workOrderFlag;
    }

    public String getFeatureLotCode() {
        return featureLotCode;
    }

    public void setFeatureLotCode(String featureLotCode) {
        this.featureLotCode = featureLotCode;
    }

    public String getUda6() {
        return uda6;
    }

    public void setUda6(String uda6) {
        this.uda6 = uda6;
    }

    public String getUda7() {
        return uda7;
    }

    public void setUda7(String uda7) {
        this.uda7 = uda7;
    }

    public String getUda8() {
        return uda8;
    }

    public void setUda8(String uda8) {
        this.uda8 = uda8;
    }

    public String getUda9() {
        return uda9;
    }

    public void setUda9(String uda9) {
        this.uda9 = uda9;
    }

    public String getUda10() {
        return uda10;
    }

    public void setUda10(String uda10) {
        this.uda10 = uda10;
    }

    public Integer getIsLast() {
        return isLast;
    }

    public void setIsLast(Integer isLast) {
        this.isLast = isLast;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public BigDecimal getReqNum() {
        return reqNum;
    }

    public void setReqNum(BigDecimal reqNum) {
        this.reqNum = reqNum;
    }

    public Integer getIsFreeze() {
        return isFreeze;
    }

    public void setIsFreeze(Integer isFreeze) {
        this.isFreeze = isFreeze;
    }

    public Integer getIsClose() {
        return isClose;
    }

    public void setIsClose(Integer isClose) {
        this.isClose = isClose;
    }

    public Integer getIsSplit() {
        return isSplit;
    }

    public void setIsSplit(Integer isSplit) {
        this.isSplit = isSplit;
    }
}
